package com.hu.zhcc.shiro.service.xsx;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.xsx.TMubanYundongMapper;
import com.hu.zhcc.shiro.entity.xsx.XsxTMubanYundong;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xsx
 * @since 2021-06-22
 */
@Service
public class TMubanYundongServiceImpl extends ServiceImpl<TMubanYundongMapper, XsxTMubanYundong> implements TMubanYundongService {
    @Autowired
    TMubanYundongMapper tMubanYundongMapper;

    @Override
    public int addOne(XsxTMubanYundong tMubanYundong) {
        return tMubanYundongMapper.addOne(tMubanYundong);
    }

    @Override
    public List<XsxTMubanYundong> queryCheckId(int id) {
        return tMubanYundongMapper.queryCheckId(id);
    }

    @Override
    public int deleteByMbid(int id) {
        return tMubanYundongMapper.deleteByMbid(id);
    }
}
